package han.yang.service.group.model.req;

import han.yang.common.model.RequestBase;
import org.springframework.boot.context.properties.bind.DefaultValue;

import javax.validation.constraints.NotBlank;

public class UpdateGroupReq extends RequestBase {
    @NotBlank(message = "群id不能为空")
    private String groupId;
    private String groupName;
    /**
     * 是否禁言
     */
    private Integer mute = 0;
    private Integer applyJoinType = 1;
    private String introduction;
    private String notification;
    private String photo;
    private Integer maxMemberCount = 200;
    private String extra;

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Integer getMute() {
        return mute;
    }

    public void setMute(Integer mute) {
        this.mute = mute;
    }

    public Integer getApplyJoinType() {
        return applyJoinType;
    }

    public void setApplyJoinType(Integer applyJoinType) {
        this.applyJoinType = applyJoinType;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getNotification() {
        return notification;
    }

    public void setNotification(String notification) {
        this.notification = notification;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Integer getMaxMemberCount() {
        return maxMemberCount;
    }

    public void setMaxMemberCount(Integer maxMemberCount) {
        this.maxMemberCount = maxMemberCount;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }
}
